projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
242a92a
)
(describe-variable): Handle find-variable-noselect returning no position.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 12 Jul 2006 15:58:10 +0000
(15:58 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 12 Jul 2006 15:58:10 +0000
(15:58 +0000)
lisp/help-fns.el
patch
|
blob
|
history
diff --git
a/lisp/help-fns.el
b/lisp/help-fns.el
index 69555feb170108e3942ae81cf16d381dd692be00..53e280fd1a78fdb07600e0ece07b34a19614336e 100644
(file)
--- a/
lisp/help-fns.el
+++ b/
lisp/help-fns.el
@@
-534,7
+534,8
@@
it is displayed along with the global value."
(error nil))))
(when location
(with-current-buffer (car location)
- (goto-char (cdr location))
+ (when (cdr location)
+ (goto-char (cdr location)))
(when (re-search-backward
"^;;; Generated autoloads from \\(.*\\)" nil t)
(setq file-name (match-string 1)))))))